package com.qijian.maindata.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qijian.common.enums.ApprovalDescriptionEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Id;

/**
 * 开工令异常责任人对象 main_project_exception_users
 *
 * @author qijian
 * @date 2023-09-28
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("main_project_exception_users")
public class ProjectExceptionUsers extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "主键")
    private Long id;

    @Excel(name = "异常id")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "异常id")
    private Long mainId;

    @Excel(name = "责任人id")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "责任人id")
    private Long userId;

    @ApiModelProperty(value = "版本号")
    private String version;
}
